home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Taifun / Taifun 073 (1988-11-15)(Ossowski, Stefan)(DE)(PD).zip / Taifun 073 (1988-11-15)(Ossowski, Stefan)(DE)(PD).adf / RunBack / aztec.c < prev    next >
C/C++ Source or Header  |  1988-08-14  |  199b  |  15 lines

  1. /* HasASpace(s):    Return 1 if there is a space in string s.
  2.  *            Return 0 otherwise.
  3. */
  4.  
  5. HasASpace(s)
  6. char *s;
  7. {
  8.     char *temp=s;
  9.     while (*temp) {
  10.         if (*(temp++) == ' ')
  11.             return(1);
  12.     }
  13.     return(0);
  14. }
  15.